package com.struts2;

import com.obj.NewsInfo;

public class HelloAction {
	private NewsInfo news;
	public NewsInfo getNews() {
		return news;
	}

	public void setNews(NewsInfo news) {
		this.news = news;
	}

	public String execute(){
		System.err.println("********前台页面进入***********");
		System.err.println("********"+news.getNewsDesc());
		return "execute";
	}
}
